package net.hn.hnms.biz.performance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.hn.hnms.biz.performance.domain.PerformanceScoring;
import net.hn.hnms.biz.performance.request.PerformanceScoringReq;
import net.hn.hnms.biz.performance.vo.PerformanceScoringVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PerformanceScoringMapper extends BaseMapper<PerformanceScoring> {
    Page<List<PerformanceScoringVo>> getPerformanceScoringByNameAndScoringTypeAndScoringDateAndScoringTemplateId(Page<PerformanceScoringVo> build, @Param("req") PerformanceScoringReq req);
    List<PerformanceScoringVo> getPerformanceScoring(@Param("req") PerformanceScoringReq req);

    int deletePerformanceScoringByIds(@Param("ids") List<String> ids);

}
